﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using KZ.Express.H.ENT;
using KZ.Express.H.Presenter;

namespace KZ.Express.H.Settings.Suppliers
{
    public partial class SupplierListView : BaseView
    {
        #region Fields

        #endregion

        #region Private Methods

        private void SupplierListView_Load(object sender, EventArgs e)
        {
            
        }

        #endregion Private Methods

        #region Constructors

        public SupplierListView()
        {
            InitializeComponent();
            Initialize(dtgSupplier);

            _presenter = new BasePresenter(this);

            this.ObjectID = (int)Objects.Supplier;
            this.ActionName = "List";
            this.VisibleChanged += new EventHandler(View_VisibleChanged<SupplierENT>);
            this.dtgSupplier.Sorted += new EventHandler(Datagrid_Sorted);

            this.OnDeleteClick += new DeleteClickHandler(View_OnDeleteClick<SupplierENT>);
        }

        #endregion Constructors      
    }
}
